import { request,  } from "vendor/utils/T";
import { toApi } from "@/service/proxyApi"

import { RespDataType, RequestDataType} from "./apiType";
export * from "./apiType";

const { put } = request;

/**
 * 更新用户密码
 */
export const updatePassword = (oldPassword: string, newPassword: string) => put(toApi(`system/user/profile/updatePwd`), {oldPassword,newPassword});


